package com.sservice.web.controller.admin;

import com.sservice.model.dao.ChargeReconciliationMapper;
import com.sservice.model.vo.ChargeReconciliationVo;
import com.sservice.service.service.IChargeReconciliationService;
import com.sservice.base.entity.dto.ListResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by suweiming on 2017/12/20.
 */

@Controller
@RequestMapping("/admin/chargeReconciliation")
public class ChargeReconciliationController {
    @Autowired
    ChargeReconciliationMapper mapper;
    @Autowired
    IChargeReconciliationService service;


    @ResponseBody
    @RequestMapping(value = "query", method = RequestMethod.GET)
    public ListResult query(ChargeReconciliationVo arg) {
        return service.page(arg);
    }
}
